import instance from "./request";


//登录请求接口
export function loginApi(data) {
  return instance ({
    url: '/api/common/auth/login',
    method: 'post',
    data
  })
}

//验证码请求接口
export function capthchaApi(data) {
  return  instance ({
    url: '/captcha/api/math',
    method: 'get',
    params: data
  })
}